Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

[FEATURE] add getter getInstances() in FormObjectFactory #87

Open
wants to merge 27 commits into
base: wip/steps
Choose a base branch
from
Open

[FEATURE] add getter getInstances() in FormObjectFactory #87

wants to merge 27 commits into from

Conversation

filoucrackeur
Copy link
Collaborator

No description provided.

romm and others added 27 commits August 6, 2017 17:43
Following the commit 2f23f80, a field
validator should be instantiated with the object manager, to allow more
Extbase feature.

The instantiation type was not modified in the Ajax controller, though.
This allows more flexibility for the messages initialization; for
instance you can dynamically build the messages list in the method
`initializeObject()` of your validator, then they will be processed just
before the validation actually runs.
Fluid variables were not passed correctly to the layout standalone view
of a field.

This commit fixes this issue, as well as a refactor for the older
versions behaviour to make the code more readable.
A collision could occur on the name of the asset files for two forms
with the same definition but with different names.
The message template of a field can be filled with the same marker
several times: every occurrence should be replaced.

Example:

```
messageTemplate = <span class="#TYPE#" data-#TYPE#="bar">#FIELD#</span>
```
On an ajax call, FormZ will get all the input in the form tag and will
create the query. But if there is an input unformatted (without `[]`)
FormZ will send a bad data.
It allows for instance nesting several fields located in multiple
partial files.
Allows the inner part of a slot to have access to the current view
variables.
Fixes an issue in TYPO3 v8 where rendering a partial or using a layout
was impossible due to the inheritance of layout/partial root paths not
properly set.
Couple of fixes that will fix certain issues when working with nested
fields in TYPO3 v8.
After StyleCI inspection failed.
Allow some more characters, mostly for German language.

Fixes #76
When any field starts its validation, the data attribute `fz-loading` is
added to the `<form>` tag. When the validation is done (successful or 
not) the data attribute is removed.
Removing beginning/ending whitespaces on input fields.
Can be used to check whether a field does contain any value (it is not 
empty).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants